


<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'nav-form',
	'enableAjaxValidation'=>false,
)); ?>
	<?php echo $form->hiddenField($model,'zna_parentid'); ?>
	<?php echo $form->hiddenField($model,'zna_type'); ?>
	<?php echo $form->hiddenField($model,'zna_listorder'); ?>
<ul class="form_list form_list2 discount create_box">
	<li class="c_f title"><h3 class="fs_14">创建菜单</h3></li>

	<li class="c_f">
		<?php echo $form->labelEx($model,'菜单名：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_title',array('class'=>'i_tpl w_210')); ?>
			<?php echo $form->error($model,'zna_title'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<?php echo $form->labelEx($model,'菜单地址：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_url',array('class'=>'i_tpl w_210')); ?>
			<?php echo $form->error($model,'zna_url'); ?>
		</div>
	</li>

	<li class="c_f">
		<?php echo $form->labelEx($model,'备注：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_desc',array('size'=>60,'maxlength'=>255)); ?>
			<?php echo $form->error($model,'zna_desc'); ?>
		</div>
	</li>
	
	<li class="c_f <?php echo ($model->zna_type==3)?'':'d_n'?>">
		<?php echo $form->labelEx($model,'SEO标题：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_seotitle',array('size'=>25,'maxlength'=>100)); ?>
			<?php echo $form->error($model,'zna_seotitle'); ?>
		</div>
	</li>
	<li class="c_f  <?php echo ($model->zna_type==3)?'':'d_n'?>">
		<?php echo $form->labelEx($model,'SEO关键词：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_seokey',array('size'=>25,'maxlength'=>255)); ?>
			<?php echo $form->error($model,'zna_seokey'); ?>
		</div>
	</li>
	<li class="c_f  <?php echo ($model->zna_type==3)?'':'d_n'?>">
		<?php echo $form->labelEx($model,'SEO描述：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->textField($model,'zna_seodesc',array('size'=>25,'maxlength'=>255)); ?>
			<?php echo $form->error($model,'zna_seodesc'); ?>
		</div>
	</li>
	
	<li class="c_f">
		<?php echo $form->labelEx($model,'列表类型：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->dropDownList($model,'zna_pagetype',Nav::model()->getZnaPageType()); ?>
			<?php echo $form->error($model,'zna_type'); ?>
		</div>
	</li>
	<li class="c_f">
		<?php echo $form->labelEx($model,'打开方式：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->radioButtonList($model,'zna_target',Nav::model()->getTarget()); ?>
			<?php echo $form->error($model,'zna_target'); ?>
		</div>
	</li>

	<li class="c_f">
		<?php echo $form->labelEx($model,'状态：',array('class'=>'tit')); ?>
		<div class="cont f_l">
			<?php echo $form->radioButtonList($model,'zna_status',Nav::model()->getStatus()); ?>
			<?php echo $form->error($model,'zna_status'); ?>
		</div>
	</li>

	<li class="c_f save_link"><span class="tit">&nbsp;</span>
			<div class="cont f_l">
				<?php echo CHtml::submitButton($model->isNewRecord ? '保存' : '更新',array('mem_btn mem_btn05 mr5')); ?>
			</div>
	</li>

<?php $this->endWidget(); ?>
